package com.yunhe.policyfulfillment.policyful.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: AppealDistribute
 * @Description:
 * @author: GongDaCheng
 * @Date: 15:25 2021/8/27
 */
@Data
@ApiModel("分发诉求模型")
public class AppealDistribute implements Serializable {

    private static final long serialVersionUID = 5289335880634635848L;

    @ApiModelProperty("诉求id")
    private long appealId;

    @ApiModelProperty("处理部门（分发给哪个部门）")
    private long handleOrgId;

    @ApiModelProperty("到期时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date deadLine;
}
